﻿<Application x:Class="Interfaces.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
         
    	<Style TargetType="{x:Type Button}">
    		<Setter Property="Template">
    			<Setter.Value>
    				<ControlTemplate TargetType="{x:Type Button}">
    					<Grid>
    						<Rectangle x:Name="rectangle1" RadiusY="10" RadiusX="10" StrokeThickness="2" Opacity="0.75">
    							<Rectangle.Fill>
    								<LinearGradientBrush EndPoint="1.008,1" StartPoint="-0.328,-0.278">
    									<GradientStop Color="#FF3B63B2" Offset="1"/>
    									<GradientStop Color="#FF4F6DAB" Offset="0.009"/>
    								</LinearGradientBrush>
    							</Rectangle.Fill>
    						</Rectangle>
    						<Rectangle x:Name="rectangle" RadiusY="10" RadiusX="10" StrokeThickness="2" Opacity="0.25">
    							<Rectangle.Fill>
    								<LinearGradientBrush EndPoint="1.096,1.095" StartPoint="-0.157,-0.061">
    									<GradientStop Offset="0.996" Color="White"/>
    									<GradientStop Offset="0.283"/>
    									<GradientStop Color="White" Offset="0.009"/>
    								</LinearGradientBrush>
    							</Rectangle.Fill>
    						</Rectangle>
    						<ContentPresenter x:Name="contentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
    					</Grid>
    					<ControlTemplate.Triggers>
    						<Trigger Property="IsFocused" Value="True"/>
    						<Trigger Property="IsDefaulted" Value="True"/>
    						<Trigger Property="IsMouseOver" Value="True">
    							<Setter Property="Fill" TargetName="rectangle">
    								<Setter.Value>
    									<LinearGradientBrush EndPoint="1.096,1.095" StartPoint="-0.157,-0.061">
    										<GradientStop Color="White" Offset="0.996"/>
    										<GradientStop Offset="0.679"/>
    										<GradientStop Color="White" Offset="0.009"/>
    									</LinearGradientBrush>
    								</Setter.Value>
    							</Setter>
    						</Trigger>
    						<Trigger Property="IsPressed" Value="True">
    							<Setter Property="Fill" TargetName="rectangle">
    								<Setter.Value>
    									<LinearGradientBrush EndPoint="1.096,1.095" StartPoint="-0.157,-0.061">
    										<GradientStop Color="Transparent" Offset="0.996"/>
    										<GradientStop Offset="0.483" Color="White"/>
    										<GradientStop Color="Transparent" Offset="0"/>
    									</LinearGradientBrush>
    								</Setter.Value>
    							</Setter>
    							<Setter Property="Margin" TargetName="rectangle" Value="0,8,8,0"/>
    							<Setter Property="Margin" TargetName="rectangle1" Value="0,8,8,0"/>
    							<Setter Property="HorizontalAlignment" TargetName="contentPresenter" Value="Stretch"/>
    							<Setter Property="VerticalAlignment" TargetName="contentPresenter" Value="Bottom"/>
    							<Setter Property="Margin" TargetName="contentPresenter" Value="42.188,0,48.188,12"/>
    						</Trigger>
    						<Trigger Property="IsEnabled" Value="False"/>
    					</ControlTemplate.Triggers>
    				</ControlTemplate>
    			</Setter.Value>
    		</Setter>
    	</Style>
         
    </Application.Resources>
</Application>
